<?php
// @formatter:off
/**
 * @file Class.php
 * @author Alejandro Dario Simi
 * @date $Date: 2013-08-20 00:23:06 +0000 (Tue, 20 Aug 2013) $
 *
 * $Id: Class.php 102 2013-08-20 00:23:06Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/branches/wcomix-1.0/extensions/RelatedComics/Class.php $
 */

define("WC_E_RELATED_COMICS_VERSION",	"1.0");
define("WC_E_RELATED_COMICS_ROOTDIR",	dirname(__FILE__));
define("WC_E_RELATED_COMICS_NAME",	basename(WC_E_RELATED_COMICS_ROOTDIR));
define("WC_E_RELATED_COMICS_URI",	dirname($_SERVER["SCRIPT_NAME"])."/{$wcPaths["extensions-directory-uri"]}/".WC_E_RELATED_COMICS_NAME);

$extensionBasicInfo = array(
	"name"		=> "Related Comics",
	"description"	=> "Offer more comics related by tags",
	"author"	=> "Alejandro Dario Simi",
	"version"	=> WC_E_RELATED_COMICS_VERSION,
	"url"		=> array(
		"title"		=> "wcomix:Extension:RelatedComics",
		"href"		=> "http://wiki.daemonraco.com/wiki/Wcomix:Extension:RelatedComics"
	)
);
$wcRightTools[] = array_merge(array(
	"title"		=> "Related Comics",
	"manager"	=> WC_E_RELATED_COMICS_ROOTDIR."/rc.php",
	"template"	=> WC_E_RELATED_COMICS_ROOTDIR."/rc.html",
	"checker"	=> "RelatedComics_Checker"
), $extensionBasicInfo);
$wcCanvasActions["comic.related"] = array_merge(array(
	"manager"	=> WC_E_RELATED_COMICS_ROOTDIR."/c.comic.related.php",
	"template"	=> WC_E_RELATED_COMICS_ROOTDIR."/c.comic.related.html"
), $extensionBasicInfo);
?>